package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 考试记录对象 rm_testrecord
 * 
 * @author ruoyi
 * @date 2019-12-21
 */
public class RmTestrecordSys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考试记录id */
    private Long id;

    /** 用户账户 */
    @Excel(name = "用户账户")
    private String loginName;

    /** 考试时间 */
    @Excel(name = "考试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oprTime;

    /** 分数 */
    @Excel(name = "分数")
    private Integer score;

    /** 所属学院 */
    @Excel(name = "所属学院")
    private Long deptId;

    /** 考试用时 */
    @Excel(name = "考试用时")
    private Integer useTime;

    /** 考试类型 */
    @Excel(name = "考试类型")
    private String testType;

    /** 月度考试 */
    @Excel(name = "月度考试")
    private Integer testMonth;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String deptName;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setOprTime(Date oprTime) 
    {
        this.oprTime = oprTime;
    }

    public Date getOprTime() 
    {
        return oprTime;
    }
    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUseTime(Integer useTime) 
    {
        this.useTime = useTime;
    }

    public Integer getUseTime() 
    {
        return useTime;
    }
    public void setTestType(String testType) 
    {
        this.testType = testType;
    }

    public String getTestType() 
    {
        return testType;
    }
    public void setTestMonth(Integer testMonth) 
    {
        this.testMonth = testMonth;
    }

    public Integer getTestMonth() 
    {
        return testMonth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loginName", getLoginName())
            .append("oprTime", getOprTime())
            .append("score", getScore())
            .append("deptId", getDeptId())
            .append("useTime", getUseTime())
            .append("testType", getTestType())
            .append("testMonth", getTestMonth())
            .toString();
    }
}
